package com.manage.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.manage.platform.dto.query.IndicatorSystemPageQuery;
import com.manage.platform.dto.query.IndicatorSystemTaskQuery;
import com.manage.platform.entity.IndicatorSystemEntity;
import com.manage.platform.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * YWD
 * 2025/9/23
 */
@Mapper
public interface IndicatorSystemMapper extends BaseMapper<IndicatorSystemEntity> {

    List<CommonVo> getIndicatorSystemOneList();

    List<IndicatorSystemTreeVo> getIndicatorSystemTree(@Param("id") Long id, @Param("name") String name);

    List<IndicatorSystemTreeOneVo> getIndicatorSystemTreeOne(@Param("id") Long id);

    List<IndicatorSystemVo> getIndicatorSystemPage(@Param("query") IndicatorSystemPageQuery query);

    IndicatorSystemVo getIndicatorSystemDetails(@Param("id") Long id);

    List<CommonVo> getIndicatorList(@Param("name") String name);

    List<IndicatorSystemTaskVo> getTaskList(@Param("query") IndicatorSystemTaskQuery query);

}
